package com.itzhigui.controller.admin;

import com.itzhigui.service.PayInfoService;
import com.itzhigui.service.PayService;
import com.itzhigui.utils.ResponseUtil;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author java1412
 * @since 2023-11-17 09:48:31
 */
@RestController
@Slf4j
@RequestMapping(value = "/admin/pay")
@Api(value = "后台支付控制器", tags = "AdminPayController")
public class AdminPayController {

    @Resource
    private PayInfoService payInfoService;

    @GetMapping(value = "/findAll")
    public ResponseUtil findAll() {
        return payInfoService.findAll();
    }
}
